package cn.geracomium.action;

import cn.geracomium.util.action.AbstractAction;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by {wang jian} on 2018/06/24.
 */
@Controller
@RequestMapping("/pages/")
public class IndexAction extends AbstractAction {

    @RequestMapping("index")
    public String index() {
        return "pages/index";
    }

    @RequestMapping("hello")
    public String hello() {
        return "pages/hello";
    }
}
